package com.cplier.platform;

public final class Constants {

  private Constants() {
    throw new IllegalStateException("Utility class");
  }

  public static final String ENCODING = "UTF-8";
  public static final String RESOURCE_SERVER_NAME = "oauth-server";
  public static final String RESOURCE_ENTRY_ENDPOINT = "http://localhost:3000";
  public static final String INVALID_CLIENT_ID = "客户端验证失败，如错误的client_id/client_secret。";
  public static final String INVALID_ACCESS_TOKEN = "accessToken无效或已过期。";
  public static final String INVALID_REDIRECT_URI = "缺少授权成功后的回调地址。";
  public static final String INVALID_AUTH_CODE = "错误的授权码。";
  // 验证accessToken
  public static final String CHECK_ACCESS_CODE_URL =
      "http://localhost:8080/checkAccessToken?accessToken=";
}
